package businessLogic;

import enums.BLToViewResultMessage;
import enums.UserIdentity;
import businessLogicService.LoginBLService;

public class LoginController implements LoginBLService {

	@Override
	public BLToViewResultMessage requireLogin(String username, String password,
			UserIdentity userIdentity) {
		if (username != null) {
			return BLToViewResultMessage.LOGIN_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage logout() {
		return BLToViewResultMessage.LOGOUT_SUCCESS;
	}

}
